package org.opensourcedea.gui.maingui;

import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.StatusLineManager;
import org.eclipse.swt.widgets.Shell;
import org.opensourcedea.gui.events.*;

public class Menu {
	
	private MenuManager main_menu = new MenuManager(null);
	private Events_StatusAction status_action;
	private OpenEvent openEvent;
	
	public Menu(StatusLineManager slm, Shell currentShell) {
		
		status_action = new Events_StatusAction(slm);
		openEvent = new OpenEvent(slm);
		
		MenuManager action_menu = new MenuManager("Menu");
		main_menu.add(action_menu);
		action_menu.add(status_action);
		action_menu.add(openEvent);
		
	}
	
	
	public MenuManager getMenuManager() {
		return main_menu;
	}
	
}
